﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibGreen
{
	public class Message : EventArgs
	{
		/// <summary>
		/// The author of the message
		/// </summary>
		#region Sender
		private Contact sender;

		public Contact Sender
		{
			get { return sender; }
			set { sender = value; }
		}
 
		#endregion

		

		#region Text
		private string text;

		public string Text
		{
			get { return text; }
			set { text = value; }
		} 
		#endregion

		public Message ()
		{
		}

		public Message (string message, Contact sender)
		{
			this.Sender = sender;
			this.text = message;
		}
	}
}
